
package com.platform.modules.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 商品分期对应表实体
 *
 * @author
 * @date 2020-10-30 15:58:36
 */
@Data
@TableName("MALL_GOODS_INSTALLMENTS")
public class MallGoodsInstallmentsEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    private String id;
    /**
     * 分期期数
     */
	@ApiModelProperty(value="分期期数")
    private Integer numberOfInstallments;
    /**
     * 名称
     */
	@ApiModelProperty(value="名称")
    private String name;
    /**
     * 商品id
     */
	@ApiModelProperty(value="商品id")
    private String goodsId;
    /**
     * 排序
     */
	@ApiModelProperty(value="排序")
    private Integer sort;
    /**
     * 分期手续费
     */
	@ApiModelProperty(value="分期手续费")
    private BigDecimal instalRate;

    /**
     * 是否免息
     */
	@ApiModelProperty(value="是否免息")
    private Integer interestFree;
    /**
     *
     */
    @TableField(exist = false)
    private boolean selected;
    /**
     * 每期金额
     */
	@ApiModelProperty(value="每期金额")
    @TableField(exist = false)
    private String meiqiAmount;
    /**
     * 每期金额
     */
	@ApiModelProperty(value="每期金额")
    @TableField(exist = false)
    private BigDecimal interest;
}
